package com.scau.data.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("commodity_info")
public class CommodityInfoDO {
    private String barCode; // 商品码
    @TableField("`name`")
    private String name; // 商品名
    private String brand; // 品牌
    private BigDecimal recommendPrice;// 建议零售价
    private BigDecimal maxPrice; // 限制最高价
    private BigDecimal minPrice; // 限制最低价
    private Integer limitBuy; // 限制购买
    private String other;
    private Integer repairDays; // 厂家保修
    private Integer returnDays; // 厂家包退
    private Integer exchangeDays; // 厂家包换
    @TableField("`explain`")
    private String explain; // 销售协议

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public BigDecimal getRecommendPrice() {
        return recommendPrice;
    }

    public void setRecommendPrice(BigDecimal recommendPrice) {
        this.recommendPrice = recommendPrice;
    }

    public BigDecimal getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(BigDecimal maxPrice) {
        this.maxPrice = maxPrice;
    }

    public BigDecimal getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(BigDecimal minPrice) {
        this.minPrice = minPrice;
    }

    public Integer getLimitBuy() {
        return limitBuy;
    }

    public void setLimitBuy(Integer limitBuy) {
        this.limitBuy = limitBuy;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public Integer getRepairDays() {
        return repairDays;
    }

    public void setRepairDays(Integer repairDays) {
        this.repairDays = repairDays;
    }

    public Integer getReturnDays() {
        return returnDays;
    }

    public void setReturnDays(Integer returnDays) {
        this.returnDays = returnDays;
    }

    public Integer getExchangeDays() {
        return exchangeDays;
    }

    public void setExchangeDays(Integer exchangeDays) {
        this.exchangeDays = exchangeDays;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }
}
